-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make 3D transforms done inside editor viewport, but w/o grabbing a gizmo handle require pressing alt #87756
base: master
Are you sure you want to change the base?
Make 3D transforms done inside editor viewport, but w/o grabbing a gizmo handle require pressing alt #87756
Conversation
e623867
to
9964bf9
Compare
I'm not sure if this is some on my side, but with this PR I have the following behaviour (when having a 3D object selected and dragging the cursor (LMB) over another object, and not being near the gizmo): Select Mode: Selected object gets translated in viewport space Move Mode: Selected object gets translated in viewport space Rotate Mode: Selected object gets translated(!) in viewport space Scale Mode: Selected object gets translated(!) in viewport space What I would have expected: Select Mode: Nothing Move Mode: Nothing Rotate Mode: Nothing Scale Mode: Nothing Interesting enough when I do Alt+RMB, the other objects gets selected. |
9964bf9
to
a04010e
Compare
I just pushed a change that should resolve that. It looks like even in 4.2 stable in select mode when you drag over some kind of geometry it will translate the node(s), which I don't fully understand why that would be the case. The changes I just made make it so it always defaults to region select. |
Indeed, now everything behaves like I'd expect it to, at least in my limited test scene. Thanks! |
Good to hear. Assuming there isn't any more bugs, the only thing left to finish this draft is to update the tooltips, but I'm not sure that's worth doing unless this gets more traction and because of a potential issue I found related to the tooltips: #87924 |
a04010e
to
e068b19
Compare
For future reference I'd suggest just rebasing your branches on top of some other fix if you want to include it, makes it much easier to rebase after the other PR has been merged, now you need to potentially handle merge conflicts |
My heart is in the right place, but you're always there to make it right. Thanks again. |
e068b19
to
4b549b1
Compare
b7a8ea4
to
afec916
Compare
…zmo handle require pressing alt
afec916
to
403edef
Compare
Implements: godotengine/godot-proposals#9007
Would fix: #87608
This a proof of concept, but ready to be tested.
It would also make basically all tools work like "Select Mode", which would probably need to be renamed, and is therefore also an extension of #86804
Example:
2024-01-30.16-38-19.mp4
Enabled by: